<template>
  <div class="header">
    <slot name="back"></slot>
    <slot name="body"></slot>
    <slot name="collect"></slot>
    <slot name="share"></slot>
  </div>
</template>
   
<script>
export default {
  name: "MHeader"
};
</script>
<style lang="scss" scoped>
.header {
  height: 1rem;
  background: var(--pColor);
  font-size: 0.4rem;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
</style>